<template>
  <h1> Art-player</h1>
  <ArtPlayer @get-instance="getInstance" :option="option" style="width: 750px; height: 450px; margin: 60px auto 0"/>
</template>

<script>
import ArtPlayer from '@/components/common/ArtPlayer.vue';
import {getVideo} from "@/api/VideoRequest.js";

const videoId = '6699dc91d5286771218b3315'

export default {
  components: {
    ArtPlayer,
  },
  data() {
    return {
      option: {
        id: videoId,
      },
    }
  },
  methods: {
    getInstance(art) {
      //console.log(art);
    },
  }
}


</script>

<style scoped>

</style>